/**
 * Copyright (C) 2017-2018 pinganfang, Inc. All Rights Reserved.
 */
package com.pingan.haofang.searchcloud.api.search.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 搜索查询请求
 *
 * @author huhailiang937
 * @date 2017年5月10日下午2:03:13
 * @since 1.0.0
 */
@ApiModel(description = "SQL查询form")
public class SqlForm {

    @ApiModelProperty(value = "执行SQL", required = true, example = "select filed1, field2 from indexName")
    private String sql;

    /**
     * @return the sql
     */
    public String getSql() {
        return sql;
    }

    /**
     * @param sql the sql to set
     */
    public void setSql(String sql) {
        this.sql = sql;
    }

}
